<div class="modal-dialog modal-md " style="min-width: 700px;">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal">&times;</button>
            <h4 class="modal-title">备注</h4>
        </div>
        <div class="modal-body">

            <table class="table b-t b-light" style="table-layout: fixed;">
                <thead>
                    <tr>
                        <th style="width:60px;">序号</th>
                        <th style="width:150px;">备注时间</th>
                        <th style="width:60px;">备注人</th>
                        <th style="width:100px;">操作类型</th>
                        <th style="width:100px;">备注类型</th>
                        <th style="width:160px;">备注内容</th>
                    </tr>
                </thead>
                <tbody>
                    {% for item in remarks %}
                    <tr>
                        <td class="text-center">{{loop.index}}</td>
                        <td>{{item.remark_time|moment('YYYY-MM-DD HH:mm:ss')}}</td>
                        <td>{{item.remark_userinfo.real_name or item.remark_userinfo.username }}</td>
                        <td>{{item.operation}}</td>
                        <td>{{item.remark_type|get_remark_type}}</td>
                        <td>{{item.remark_contents}}</td>
                    </tr>
                    {% else %}
                    <tr>
                        <td colspan="11">
                            <div class="alert alert-warning alert-block">
                                <button data-dismiss="alert" class="close" type="button">×</button>
                                <p>暂无数据</p>
                            </div>
                        </td>
                    </tr>
                    {% endfor %}
                </tbody>
            </table>
        </div>
    </div>
</div>
